package org.ghost.http.testkit.common.exception;

import org.ghost.http.testkit.common.errorcode.CommonBusinessErrorCodeEnum;
import org.ghost.http.testkit.common.errorcode.IErrorCodeEnum;
import org.slf4j.Logger;

import java.io.Serializable;

public class RetryErrorException extends BusinessErrorException implements Serializable {
    public RetryErrorException(String message) {
        this(CommonBusinessErrorCodeEnum.BUSINESS_ERROR.getCode(), message);
    }

    public RetryErrorException(String methodName, IErrorCodeEnum errorCodeEnum, Logger logger) {
        super(methodName, errorCodeEnum, logger);
    }

    public RetryErrorException(String code, String message) {
        super(code, message);
    }
}
